package com.tsingtree.modular.model.result;

import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 精美礼物-活动配置表
 * </p>
 *
 * @author jagger
 * @since 2025-10-24
 */
@Data
public class NanGiftActivityResult implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String activityCode;

    private String activityName;

    private String description;

    private Integer status;

    private Integer sort;

    private Boolean isDel;

    private Date createTime;

    private Date updateTime;

    private Integer version;

    // 状态字符串
    private String statusStr;

    public String getStatusStr() {
        if (status == null) {
            return "";
        }
        return status == 1 ? "启用" : "禁用";
    }

}

